package com.example.houduan.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.houduan.entity.Eva;
import com.example.houduan.service.EvaService;
import com.example.houduan.mapper.EvaMapper;
import org.springframework.stereotype.Service;

/**
* @author acer
* @description 针对表【eva】的数据库操作Service实现
* @createDate 2024-09-25 18:09:05
*/
@Service
public class EvaServiceImpl extends ServiceImpl<EvaMapper, Eva>
    implements EvaService{

    @Override
    public void addEva(Eva eva) {
        baseMapper.addEva(eva);
    }

    @Override
    public void delByid(Long id) {
        baseMapper.deleteById(id);
    }

    @Override
    public void delByeva(Eva eva) {
        baseMapper.delByeva(eva);
    }

    @Override
    public void delByusername(String username) {
        baseMapper.delByUsername(username);
    }
}




